package com.htao.train.common.exception;

/**
 * @Author： HTTT
 * @Date： 2023/12/22 15:47
 * @Describe：
 */
public class BusinessException extends RuntimeException{
    private BusinessExceptionEnum e;

    public BusinessException(BusinessExceptionEnum e) {
        this.e = e;
    }

    public BusinessExceptionEnum getE() {
        return e;
    }

    public void setE(BusinessExceptionEnum e) {
        this.e = e;
    }

    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}
